package lng.site.balafon.model;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.persistence.Embeddable;

/**
 * <p>Pojo mapping TABLE type_post</p>
 * <p></p>
 *
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 * @author Salto-db Generator v1.0.16 / EJB3
 * 
 */
@Entity
@Table(name = "type_post", catalog = "balafon2")
@SuppressWarnings("serial")
public class TypePost implements Serializable {

	/**
	 * Attribute idTypePost.
	 */
	private Integer idTypePost;
	
	/**
	 * Attribute valeurTypePost.
	 */
	private String valeurTypePost;
	
	
	/**
	 * <p> 
	 * </p>
	 * @return idTypePost
	 */
	@Basic
	@Id
	@GeneratedValue
	@Column(name = "id_type_post")
		public Integer getIdTypePost() {
		return idTypePost;
	}

	/**
	 * @param idTypePost new value for idTypePost 
	 */
	public void setIdTypePost(Integer idTypePost) {
		this.idTypePost = idTypePost;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return valeurTypePost
	 */
	@Basic
	@Column(name = "valeur_type_post", length = 25)
		public String getValeurTypePost() {
		return valeurTypePost;
	}

	/**
	 * @param valeurTypePost new value for valeurTypePost 
	 */
	public void setValeurTypePost(String valeurTypePost) {
		this.valeurTypePost = valeurTypePost;
	}
	


}